home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / vbpong1a / bugs.txt < prev    next >
Encoding:
Text File  |  1999-08-15  |  1.6 KB  |  34 lines

  1. VB PONG BUGS: POSSIBLE CAUSES AND SOLUTIONS
  2. ===========================================
  3.  
  4. 1) I have a game CD in my drive for the in-game CD music, and when I start VB Pong, it crashes.
  5.  
  6. CAUSE: The problem is that when the CD drive is initialised, Windows autorun kicks in and starts up the game file.
  7.  
  8. SOLUTION:
  9. A) Use a music CD
  10. B) Turn autorun off (TweakUI Control Panel extension on Windows CD?)
  11. C) Just run the game again. As VB Pong initialises the CD drive but gets cut off, VB Pong doesn't have chance to shut down the CD. So just run the game again and all will be fine!
  12.  
  13.  
  14. 2) The game only has 1 level
  15.  
  16. CAUSE: The single level programmed into VB Pong is hard coded.
  17.  
  18. SOLUTION:
  19. Make the blocks into an array which stretches across the whole screen. Make a file called something like levels.x. In levels.x, using the RANDOM mode output, set the first variable to how many levels there are. Then, every entry after that is the name of the right file level1.x, level2.x, etc.
  20.  
  21.  
  22. 3) The game crashes at start reporting that a file could not be found.
  23.  
  24. CAUSE: One of the game files may be missing or corrupt.
  25.  
  26. SOLUTION:
  27. Reinstall all the game files. (*.x) and make sure they are in the same directory as VBPong.exe
  28.  
  29.  
  30. 4) I don't see the cool introduction screen.
  31.  
  32. CAUSE: You aren't starting up a.exe
  33.  
  34. SOLUTION: The introduction screen is an executable in itself. Before it shuts down it launches VBPong.exe. I did this because of bugs in code if it was all in 1 .exe. Just change your shortcut to a.exe. As long as VBPong.exe and all the game files are in the same directory then all will be fine.